/* @(#)GSLogProcessor.java    
 *
 * Project: BUS
 *
 * Modify Information:
 * =============================================================================
 *   Author       Date       Description
 *   ------------ ---------- ---------------------------------------------------
 *   Simonyi Peng 2006-2-11    新增
 *
 * Copyright Notice:
 * =============================================================================
 *    Copyright (c) 2001-2006 Beijing HiTRUST Technology Co., Ltd. 1808 Room, 
 *        Science & Technology Building, No. 9 South Street, Zhong Guan Cun, 
 *        Haidian District, Beijing ,100081, China All rights reserved.
 *
 *    This software is the confidential and proprietary information of
 *        Beijing HiTRUST Technology Co., Ltd. ("Confidential Information").
 *        You shall not disclose such Confidential Information and shall use it
 *        only in accordance with the terms of the license agreement you entered
 *        into with HiTRUST.
 *
 * Warning:
 * =============================================================================
 * 
 */
package com.hitrust.gs.business;

import com.hitrust.gs.lib.GSLogWriter;
import com.hitrust.gs.util.exception.GSException;
import com.hitrust.gs.dao.GSOperLogDAO;

/**
 * log方法要求传入的args参数说明如下：
 * 1.订单录入：			订单号，产品集中编码，订单数量
 * 2.订单审核：			订单号，审核结果
 * 3.订单提交：			订单号
 * 4.订单取消：			订单号
 * 5.订单状态修正：		订单号，原始状态，新状态
 * 6.订单核准：			订单号，原始订单数据
 * 7.订单明细提交：					订单明细编号
 * 8.网下供应商订单提交：
 * 
 * 9.订单信息调整：
 * 订单明细编号/调整种类
 * 下列字段的原始值：送货单号/配送数量/送货联系人/联系电话/日期/时间/送货说明

 * 10.订单审核：
 * 订单明细编号
 * 下列字段的原始值：订货数量/订货联系人/联系电话/日期/时间/配送方式/结算方式/供应商/
 * 
 * 以上各字段的名称-值对组成String[][]数组的一个element，名称在[x][0]，值在[x][1]位置
 */
public class GSLogProcessor {
    
    private static GSOperLogDAO dao = new GSOperLogDAO();
    
    public static void Log(String operId,String funcId,String[][] args){
        try{
            dao.log(operId,funcId,args);            
        }catch(GSException e){
            GSLogWriter.error(new GSLogProcessor(),"传入的订单编号为空");
        }
        
    }

}
